<?php
namespace Admin\Controller;
use Think\Controller;
class CronController extends Controller {

    // 运行定时任务
    public function run(){
        require_once(dirname(dirname(dirname(__FILE__))) . '/Cron/rebate.php');
        $this->ajaxReturn("ok");
    }
}